
#ifndef PUSHHANDLER_H
#define PUSHHANDLER_H

#include <BCone>
#include <BTextual>
#include <BHandler>
#include <BConearRestraint>

using namespace BWE;

class PushHandler : public BHandler
{
public:
	PushHandler();
	~PushHandler();

	void setForceSize(int BReal);
	BReal forceSize() const;

protected:
	virtual void attached(BViewer* viewer);
	virtual void detached(BViewer* viewer);

	virtual void paint(BPainter& painter);
	virtual void render(BRender& render);

	virtual void styleEvent(const BEvent& event);

protected:
	BHolder<BBody>		_node;
	BReal					_forceSize;
	BConeHolder				_cone_x;
	BConeHolder				_cone_y;
	BConeHolder				_cone_z;

	BHolder<BTextual>		_lengthText;
};

#endif

